<?php

class AnotherUser extends User{
    public function __construct($user_id) {
        parent::__construct();
        if($userdata = $this->model->getUserDataById($user_id))
        {
            $this->init($userdata);
        }
        else
            throw new Exception;
    }
}

?>
